//
//  MimikViewController.h
//  Mimik
//
//  Created by Mikkel Gravgaard on 15/12/09.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "Game.h"
#import "UICenteredLabel.h"

@interface MimikViewController : UIViewController {
	UICenteredLabel *scoreLabel;
//	NSMutableArray *buttons;
	NSMutableArray *animButtons;
	Game *game;
	NSEnumerator* btnEnumerator;
	NSTimer *myTimer;
	IBOutlet UIButton *newGameButton;
}

@property (nonatomic, retain) UILabel *scoreLabel;
@property (nonatomic, retain) Game *game;

extern float const PLAY_DELAY;

- (void)setUpView;
- (NSInteger)getNumberFromButton:(UIButton *)btn;
- (void)showChallenge:(NSArray *)numbers;
- (void)animateButton:(UIButton *)btn;
- (void)animateNextButton:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context;
- (void)play:(NSInteger)number;
- (void)gameOver;
- (void)toggleButtons:(Boolean)enable;
@end

